// jellyfish.h
#ifndef JELLYFISH_H
#define JELLYFISH_H

#include <QObject>
#include <QGraphicsPixmapItem>
#include <QPropertyAnimation>

class Jellyfish : public QObject, public QGraphicsPixmapItem
{
    Q_OBJECT
public:
    explicit Jellyfish(QGraphicsItem* parent = nullptr);

    // 可选：添加浮动动画方法
     void floatAnimation();

private:
         // 可选：添加动画成员
          QPropertyAnimation* floatAnim;
};

#endif // JELLYFISH_H
